package com.hckjsec.law.domain.HomeView;

import com.hckjsec.common.annotation.Excel;

public class LawHomeReserve {
    private Long id;
    private String type;
    @Excel(name = "单位名称")
    private String name;
    @Excel(name = "待审核")
    private Long  toBeReviewed;
    @Excel(name = "已同意")
    private Long  reviewed;
    @Excel(name = "已拒绝")
    private Long  refuse;
    @Excel(name = "合计")
    private Long  total;

    public void  plus(){
        this.total = this.toBeReviewed + this.reviewed + this.refuse;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getToBeReviewed() {
        return toBeReviewed;
    }

    public void setToBeReviewed(Long toBeReviewed) {
        this.toBeReviewed = toBeReviewed;
    }

    public Long getReviewed() {
        return reviewed;
    }

    public void setReviewed(Long reviewed) {
        this.reviewed = reviewed;
    }

    public Long getRefuse() {
        return refuse;
    }

    public void setRefuse(Long refuse) {
        this.refuse = refuse;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }
}
